package cn.kgc.springboot1048.spring_vue2.service.impl;

import cn.kgc.springboot1048.spring_vue2.entity.Housetype;
import cn.kgc.springboot1048.spring_vue2.mapper.HousetypeMapper;
import cn.kgc.springboot1048.spring_vue2.service.HousetypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author szz
 * @since 2024-04-10
 */
@Service
public class HousetypeServiceImpl extends ServiceImpl<HousetypeMapper, Housetype> implements HousetypeService {
    @Resource
    HousetypeMapper housetypeMapper;

    @Override
    public List<Housetype> list() {
        return housetypeMapper.list();
    }
}
